package com.example.bbs.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component//注册成bean
@ConfigurationProperties(prefix = "bbs")
public class BbsProperties {
    private String data;

}
